home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 842 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: ernie.almac.co.uk!almac!alex.buell
  2. From: alex.buell@almac.co.uk (ALEX BUELL)
  3. Newsgroups: comp.lang.c++
  4. Subject: msvc and hardware interru
  5. Message-ID: <8B863B1.024D00D27D.uuout@almac.co.uk>
  6. Date: Sun, 07 Jan 96 15:45:00 +0100
  7. Distribution: world
  8. Organization: ALMAC : Grangemouth, Scotland : +44 (0)1324 665371
  9. Reply-To: alex.buell@almac.co.uk (ALEX BUELL)
  10. References: <8B8301D.024D00D090.uuout@almac.co.uk>
  11. X-Newsreader: PCBoard Version 15.21
  12. X-Mailer: PCBoard/UUOUT Version 1.10
  13.  
  14. SL> void main(void)
  15. SL> {
  16. SL>  _dos_setvect ( 15, myinthand);
  17. SL> }
  18.  
  19. SL> that will compile under MS-DOS executable but not under a windows exe ev
  20. SL> though the setvect command is win compatible.  I get a
  21. SL> error c2065 '_dos_setvect': undeclared identifier
  22. SL> I'm using VC++ 1.51
  23.  
  24. You're  not  linking  it  with  the DOS libraries!! :) Make sure you do.
  25.  
  26. ##########################################################################
  27. # Alex Buell, Consultant               Email: alex.buell@almac.co.uk     #
  28. ##########################################################################
  29.  
  30. ---
  31.  * MM 1.0b4 * Unregistered * MailMaker - Your Windows offline reader!
  32.